FHIR © HL7.org  |  FHIRsmith 0.14.2  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagetw.vgh.stroke
Resource TypeStructureDefinition
IdStructureDefinition-StrokeRapidLM.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/SitatechCo/TWVGHStroke_IG_Build/StructureDefinition-StrokeRapidLM.html
URLhttp://vgh-stroke-ig.fhir.tw/StructureDefinition/StrokeRapidLM
Version0.1.0
Statusdraft
Date2026-10-07T16:40:32+00:00
NameStrokeRapidLM
TitleRAPID 影像分析資料邏輯模型
Realmtw
DescriptionRAPID 腦部影像分析結果(NCVA.RAPID)邏輯模型。每次掃描一筆,以病歷號、申請序號、掃描類型與醫院代號識別;數值欄缺值時直接留空。
Typehttp://vgh-stroke-ig.fhir.tw/StructureDefinition/StrokeRapidLM
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition StrokeRapidLM

NameFlagsCard.TypeDescription & Constraintsdoco
StrokeRapidLM 0..*BaseRAPID 影像分析資料邏輯模型
StrokeRapidLM.hisnummark 1..1Identifier病歷號
StrokeRapidLM.rpreqno 1..1Identifier申請序號
StrokeRapidLM.scantype 1..1code掃描類型
StrokeRapidLM.latestseriesdate 0..1date最近一次掃描 series 日期
StrokeRapidLM.aspectsAffectedside 0..1codeASPECTS 影響側
StrokeRapidLM.aspects 0..1integerASPECTS 分數
StrokeRapidLM.ctaAffectedside 0..1codeCTA 影響側
StrokeRapidLM.cbfVolume 0..1QuantityCBF<30% 體積
StrokeRapidLM.tmaxVolume 0..1QuantityTmax>6 秒體積
StrokeRapidLM.mismatchVolume 0..1Quantity不一致體積
StrokeRapidLM.mismatchRatio 0..1decimal不一致比率
StrokeRapidLM.hypoperfusionIntensityRatio 0..1decimal低灌注強度比值
StrokeRapidLM.hid 1..1Identifier醫院代號
StrokeRapidLM.zrapid 0..1dateTime日期時戳
StrokeRapidLM.mtqualified 0..1stringMTQUALIFIED
StrokeRapidLM.mtqualified16hDefuse3 0..1stringMTQUALIFIED_16H_DEFUSE3
StrokeRapidLM.mtqualified6hExtendia 0..1stringMTQUALIFIED_6H_EXTENDIA
StrokeRapidLM.mtqualified6hSwiftprime 0..1stringMTQUALIFIED_6H_SWIFTPRIME

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "StrokeRapidLM",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://vgh-stroke-ig.fhir.tw/StructureDefinition/StrokeRapidLM",
  "version": "0.1.0",
  "name": "StrokeRapidLM",
  "title": "RAPID 影像分析資料邏輯模型",
  "status": "draft",
  "date": "2026-10-07T16:40:32+00:00",
  "publisher": "高雄榮民總醫院 (VGHKS)",
  "contact": [
    {
      "name": "高雄榮民總醫院 (VGHKS)",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.vghks.gov.tw/"
        }
      ]
    }
  ],
  "description": "RAPID 腦部影像分析結果(NCVA.RAPID)邏輯模型。每次掃描一筆,以病歷號、申請序號、掃描類型與醫院代號識別;數值欄缺值時直接留空。",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rapid-source",
      "uri": "urn:vgh-stroke:source:rapid",
      "name": "RAPID 原始欄位對照",
      "comment": "對照 RAPID 譯碼簿(NCVA.RAPID)的原始欄位。"
    },
    {
      "identity": "fhir",
      "uri": "urn:vgh-stroke:fhir-profiles",
      "name": "FHIR 路徑對應",
      "comment": "各元素對應的 FHIR Profile 與元素路徑。沒有臨床資源對應的元素,原值保存在 StrokeRegistryResponse 的 raw 題目。"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://vgh-stroke-ig.fhir.tw/StructureDefinition/StrokeRapidLM",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "StrokeRapidLM",
        "path": "StrokeRapidLM",
        "short": "RAPID 影像分析資料邏輯模型",
        "definition": "RAPID 腦部影像分析結果(NCVA.RAPID)邏輯模型。每次掃描一筆,以病歷號、申請序號、掃描類型與醫院代號識別;數值欄缺值時直接留空。",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID"
          },
          {
            "identity": "fhir",
            "map": "StrokeRapidBundle:Bundle",
            "comment": "一次 RAPID 掃描的完整資料以一個 StrokeRapidBundle 傳送"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.hisnummark",
        "path": "StrokeRapidLM.hisnummark",
        "short": "病歷號",
        "definition": "病人在本院的病歷號。",
        "min": 1,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.hisnummark",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.HISNUMMARK"
          },
          {
            "identity": "fhir",
            "map": "StrokePatient:Patient.identifier:medicalRecord.value",
            "comment": "病歷號原樣保留,不作為 Patient.id。type 固定 v2-0203 MR,system 用院方核定的網址(範例 http://www.vghks.gov.tw/patient-id)。每個院所+病歷號建一筆 Patient。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.rpreqno",
        "path": "StrokeRapidLM.rpreqno",
        "short": "申請序號",
        "definition": "影像申請序號,院方說明為醫師開立的醫令碼。語意確認前不寫入 ImagingStudy/ServiceRequest 的 identifier,原值保存在登錄表單回覆,並作為 RAPID 資料包紀錄鍵的一部分。",
        "min": 1,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.rpreqno",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.RPREQNO"
          },
          {
            "identity": "fhir",
            "map": "StrokeRegistryResponse:QuestionnaireResponse.item:rapidRequestNo.answer.valueString",
            "comment": "linkId 填 rapid.rpreqno,原樣保存。確認語意前不寫入 ImagingStudy/ServiceRequest identifier。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.scantype",
        "path": "StrokeRapidLM.scantype",
        "short": "掃描類型",
        "definition": "影像掃描類型,可填 CTP、CTA、NCCT;來源值有時帶尾端空白。",
        "min": 1,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.scantype",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.SCANTYPE"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingStudy:ImagingStudy.procedureCode.coding:rapidScanType",
            "comment": "StrokeRapidScanTypeCS 原碼填 CTP/CTA/NCCT(去除尾端空白);modality 另填 DCM#CT。申請序號(RPREQNO)不是 DICOM UID,不建立 series。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.latestseriesdate",
        "path": "StrokeRapidLM.latestseriesdate",
        "short": "最近一次掃描 series 日期",
        "definition": "最近一次掃描 series 的日期,格式為 YYYY-MM-DD;正式介面只有日期。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.latestseriesdate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.LATESTSERIESDATE"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.effectiveDateTime",
            "comment": "確認結果取自該最近掃描序列時,才作為該筆影像判讀結果的 effectiveDateTime(只填 YYYY-MM-DD);未確認配對時原日期存入 StrokeRegistryResponse。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.aspectsAffectedside",
        "path": "StrokeRapidLM.aspectsAffectedside",
        "short": "ASPECTS 影響側",
        "definition": "ASPECTS 評估的影響側:L=左腦;R=右腦。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.aspectsAffectedside",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.ASPECTS_AFFECTEDSIDE"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueCodeableConcept",
            "comment": "code = stroke-observation#aspects-affected-side;項目代碼填 Observation.code.coding:strokeObservation。代碼系統填 http://vgh-stroke-ig.fhir.tw/CodeSystem/affected-side(L 左腦、R 右腦),text 填左腦/右腦。可獨立建一筆 Observation,或在已配對的 ASPECTS/CTA 結果改用 bodySite.text,兩者擇一。院方核定 LOINC 後,在同一 code 另加 coding(依父層 code 綁定)。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.aspects",
        "path": "StrokeRapidLM.aspects",
        "short": "ASPECTS 分數",
        "definition": "ASPECTS 分數,範圍 0 至 10。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.aspects",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.ASPECTS"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueInteger",
            "comment": "code = stroke-observation#aspects-score;項目代碼填 Observation.code.coding:strokeObservation。ASPECTS 填 0–10 原值。EVT 與 RAPID 來源在配對核定前各自建立。院方核定 LOINC 後,在同一 code 另加 coding(依父層 code 綁定)。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.ctaAffectedside",
        "path": "StrokeRapidLM.ctaAffectedside",
        "short": "CTA 影響側",
        "definition": "電腦斷層血管攝影的影響側:L=左腦;R=右腦。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.ctaAffectedside",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.CTA_AFFECTEDSIDE"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueCodeableConcept",
            "comment": "code = stroke-observation#cta-affected-side;項目代碼填 Observation.code.coding:strokeObservation。代碼系統填 http://vgh-stroke-ig.fhir.tw/CodeSystem/affected-side(L 左腦、R 右腦),text 填左腦/右腦。可獨立建一筆 Observation,或在已配對的 ASPECTS/CTA 結果改用 bodySite.text,兩者擇一。院方核定 LOINC 後,在同一 code 另加 coding(依父層 code 綁定)。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.cbfVolume",
        "path": "StrokeRapidLM.cbfVolume",
        "short": "CBF<30% 體積",
        "definition": "腦血流量小於 30% 的體積,單位為 mL。填 0 至 3 位整數,僅 CTP 影像有此值。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.cbfVolume",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.CBF_VOLUME"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueQuantity",
            "comment": "code = stroke-observation#perfusion-core-volume;項目代碼填 Observation.code.coding:strokeObservation。單位填 UCUM mL,填入原值。EVT 與 RAPID 在配對核定前各自建立。院方核定 LOINC 後,在同一 code 另加 coding(依父層 code 綁定)。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.tmaxVolume",
        "path": "StrokeRapidLM.tmaxVolume",
        "short": "Tmax>6 秒體積",
        "definition": "Tmax 大於 6 秒的體積,單位為 mL。填 0 至 3 位整數,僅 CTP 影像有此值。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.tmaxVolume",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.TMAX_VOLUME"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueQuantity",
            "comment": "code = stroke-observation#tmax-over-6s-volume;項目代碼填 Observation.code.coding:strokeObservation。單位填 UCUM mL,填入 Tmax > 6 秒體積。院方核定 LOINC 後,在同一 code 另加 coding(依父層 code 綁定)。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.mismatchVolume",
        "path": "StrokeRapidLM.mismatchVolume",
        "short": "不一致體積",
        "definition": "不一致體積,單位為 mL。譯碼簿公式:Tmax 小於 6 秒體積減去 CBF 小於 30% 體積;數值採來源原值,填 0 至 3 位整數,僅 CTP 影像有此值。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.mismatchVolume",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.MISMATCH_VOLUME"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueQuantity",
            "comment": "code = stroke-observation#perfusion-mismatch-volume;項目代碼填 Observation.code.coding:strokeObservation。單位填 UCUM mL,填入原值。EVT 與 RAPID 在配對核定前各自建立。院方核定 LOINC 後,在同一 code 另加 coding(依父層 code 綁定)。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.mismatchRatio",
        "path": "StrokeRapidLM.mismatchRatio",
        "short": "不一致比率",
        "definition": "不一致比率。譯碼簿公式:Tmax 小於 6 秒體積除以 CBF 小於 30% 體積。格式為 XX.X,僅 CTP 影像有此值;9999 表示無法計算,視同缺值,真實的 0 要保留。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.mismatchRatio",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.MISMATCH_RATIO"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueQuantity",
            "comment": "code = stroke-observation#perfusion-mismatch-ratio;比值原值(廠商公式算出)填入 valueQuantity,單位填 UCUM 1;只有 CTP 影像才有值。若為 9999 表示無法計算,不填 valueQuantity,改填 dataAbsentReason = unknown,且 dataAbsentReason.text 填「來源 9999:無法計算」;空白同樣填 unknown。真實 0 保留。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.hypoperfusionIntensityRatio",
        "path": "StrokeRapidLM.hypoperfusionIntensityRatio",
        "short": "低灌注強度比值",
        "definition": "低灌注強度比值,為 Tmax 大於 10 秒體積除以 Tmax 大於 6 秒體積。數值介於 0 至 0.X,僅 CTP 影像有此值。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.hypoperfusionIntensityRatio",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.HYPOPERFUSION_INTENSITY_RATIO"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueQuantity",
            "comment": "code = stroke-observation#hypoperfusion-intensity-ratio;項目代碼填 Observation.code.coding:strokeObservation。單位填 UCUM 1(無單位比值)。院方核定 LOINC 後,在同一 code 另加 coding(依父層 code 綁定)。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.hid",
        "path": "StrokeRapidLM.hid",
        "short": "醫院代號",
        "definition": "院所代號,例如 1A0=高雄榮總。",
        "min": 1,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.hid",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.HID"
          },
          {
            "identity": "fhir",
            "map": "StrokeOrganization:Organization.identifier.value",
            "comment": "院所代號(例 1A0)原樣填入 identifier.value。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.zrapid",
        "path": "StrokeRapidLM.zrapid",
        "short": "日期時戳",
        "definition": "資料時戳,格式為 YYYY-MM-DD hh:mm:ss。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.zrapid",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.ZRAPID"
          },
          {
            "identity": "fhir",
            "map": "StrokeProvenance:Provenance.occurredDateTime",
            "comment": "來源資料時戳:語意確認前不填 occurredDateTime,只保留原值;語意已確認、時區未確認時,只填日期(YYYY-MM-DD),時間以 StrokeEventTimeOnly 擴充附在該元素上,原值同時保存在原始值題目;語意與時區都確認後,填帶已確認時區的完整日期時間。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.mtqualified",
        "path": "StrokeRapidLM.mtqualified",
        "short": "MTQUALIFIED",
        "definition": "JSON 樣本有此欄位,但譯碼簿未定義,樣本皆為空值。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.mtqualified",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.MTQUALIFIED"
          },
          {
            "identity": "fhir",
            "map": "StrokeRegistryResponse:QuestionnaireResponse.item:rawRapid.item(linkId = raw.rapid.mtqualified).answer.valueString",
            "comment": "尚無臨床資源對應,只保存原值"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.mtqualified16hDefuse3",
        "path": "StrokeRapidLM.mtqualified16hDefuse3",
        "short": "MTQUALIFIED_16H_DEFUSE3",
        "definition": "JSON 樣本有此欄位,但譯碼簿未定義,樣本皆為空值。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.mtqualified16hDefuse3",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.MTQUALIFIED_16H_DEFUSE3"
          },
          {
            "identity": "fhir",
            "map": "StrokeRegistryResponse:QuestionnaireResponse.item:rawRapid.item(linkId = raw.rapid.mtqualified16hDefuse3).answer.valueString",
            "comment": "尚無臨床資源對應,只保存原值"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.mtqualified6hExtendia",
        "path": "StrokeRapidLM.mtqualified6hExtendia",
        "short": "MTQUALIFIED_6H_EXTENDIA",
        "definition": "JSON 樣本有此欄位,但譯碼簿未定義,樣本皆為空值。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.mtqualified6hExtendia",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.MTQUALIFIED_6H_EXTENDIA"
          },
          {
            "identity": "fhir",
            "map": "StrokeRegistryResponse:QuestionnaireResponse.item:rawRapid.item(linkId = raw.rapid.mtqualified6hExtendia).answer.valueString",
            "comment": "尚無臨床資源對應,只保存原值"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.mtqualified6hSwiftprime",
        "path": "StrokeRapidLM.mtqualified6hSwiftprime",
        "short": "MTQUALIFIED_6H_SWIFTPRIME",
        "definition": "JSON 樣本有此欄位,但譯碼簿未定義,樣本皆為空值。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "StrokeRapidLM.mtqualified6hSwiftprime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.MTQUALIFIED_6H_SWIFTPRIME"
          },
          {
            "identity": "fhir",
            "map": "StrokeRegistryResponse:QuestionnaireResponse.item:rawRapid.item(linkId = raw.rapid.mtqualified6hSwiftprime).answer.valueString",
            "comment": "尚無臨床資源對應,只保存原值"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "StrokeRapidLM",
        "path": "StrokeRapidLM",
        "short": "RAPID 影像分析資料邏輯模型",
        "definition": "RAPID 腦部影像分析結果(NCVA.RAPID)邏輯模型。每次掃描一筆,以病歷號、申請序號、掃描類型與醫院代號識別;數值欄缺值時直接留空。",
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID"
          },
          {
            "identity": "fhir",
            "map": "StrokeRapidBundle:Bundle",
            "comment": "一次 RAPID 掃描的完整資料以一個 StrokeRapidBundle 傳送"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.hisnummark",
        "path": "StrokeRapidLM.hisnummark",
        "short": "病歷號",
        "definition": "病人在本院的病歷號。",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.HISNUMMARK"
          },
          {
            "identity": "fhir",
            "map": "StrokePatient:Patient.identifier:medicalRecord.value",
            "comment": "病歷號原樣保留,不作為 Patient.id。type 固定 v2-0203 MR,system 用院方核定的網址(範例 http://www.vghks.gov.tw/patient-id)。每個院所+病歷號建一筆 Patient。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.rpreqno",
        "path": "StrokeRapidLM.rpreqno",
        "short": "申請序號",
        "definition": "影像申請序號,院方說明為醫師開立的醫令碼。語意確認前不寫入 ImagingStudy/ServiceRequest 的 identifier,原值保存在登錄表單回覆,並作為 RAPID 資料包紀錄鍵的一部分。",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.RPREQNO"
          },
          {
            "identity": "fhir",
            "map": "StrokeRegistryResponse:QuestionnaireResponse.item:rapidRequestNo.answer.valueString",
            "comment": "linkId 填 rapid.rpreqno,原樣保存。確認語意前不寫入 ImagingStudy/ServiceRequest identifier。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.scantype",
        "path": "StrokeRapidLM.scantype",
        "short": "掃描類型",
        "definition": "影像掃描類型,可填 CTP、CTA、NCCT;來源值有時帶尾端空白。",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.SCANTYPE"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingStudy:ImagingStudy.procedureCode.coding:rapidScanType",
            "comment": "StrokeRapidScanTypeCS 原碼填 CTP/CTA/NCCT(去除尾端空白);modality 另填 DCM#CT。申請序號(RPREQNO)不是 DICOM UID,不建立 series。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.latestseriesdate",
        "path": "StrokeRapidLM.latestseriesdate",
        "short": "最近一次掃描 series 日期",
        "definition": "最近一次掃描 series 的日期,格式為 YYYY-MM-DD;正式介面只有日期。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.LATESTSERIESDATE"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.effectiveDateTime",
            "comment": "確認結果取自該最近掃描序列時,才作為該筆影像判讀結果的 effectiveDateTime(只填 YYYY-MM-DD);未確認配對時原日期存入 StrokeRegistryResponse。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.aspectsAffectedside",
        "path": "StrokeRapidLM.aspectsAffectedside",
        "short": "ASPECTS 影響側",
        "definition": "ASPECTS 評估的影響側:L=左腦;R=右腦。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.ASPECTS_AFFECTEDSIDE"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueCodeableConcept",
            "comment": "code = stroke-observation#aspects-affected-side;項目代碼填 Observation.code.coding:strokeObservation。代碼系統填 http://vgh-stroke-ig.fhir.tw/CodeSystem/affected-side(L 左腦、R 右腦),text 填左腦/右腦。可獨立建一筆 Observation,或在已配對的 ASPECTS/CTA 結果改用 bodySite.text,兩者擇一。院方核定 LOINC 後,在同一 code 另加 coding(依父層 code 綁定)。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.aspects",
        "path": "StrokeRapidLM.aspects",
        "short": "ASPECTS 分數",
        "definition": "ASPECTS 分數,範圍 0 至 10。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.ASPECTS"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueInteger",
            "comment": "code = stroke-observation#aspects-score;項目代碼填 Observation.code.coding:strokeObservation。ASPECTS 填 0–10 原值。EVT 與 RAPID 來源在配對核定前各自建立。院方核定 LOINC 後,在同一 code 另加 coding(依父層 code 綁定)。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.ctaAffectedside",
        "path": "StrokeRapidLM.ctaAffectedside",
        "short": "CTA 影響側",
        "definition": "電腦斷層血管攝影的影響側:L=左腦;R=右腦。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.CTA_AFFECTEDSIDE"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueCodeableConcept",
            "comment": "code = stroke-observation#cta-affected-side;項目代碼填 Observation.code.coding:strokeObservation。代碼系統填 http://vgh-stroke-ig.fhir.tw/CodeSystem/affected-side(L 左腦、R 右腦),text 填左腦/右腦。可獨立建一筆 Observation,或在已配對的 ASPECTS/CTA 結果改用 bodySite.text,兩者擇一。院方核定 LOINC 後,在同一 code 另加 coding(依父層 code 綁定)。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.cbfVolume",
        "path": "StrokeRapidLM.cbfVolume",
        "short": "CBF<30% 體積",
        "definition": "腦血流量小於 30% 的體積,單位為 mL。填 0 至 3 位整數,僅 CTP 影像有此值。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.CBF_VOLUME"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueQuantity",
            "comment": "code = stroke-observation#perfusion-core-volume;項目代碼填 Observation.code.coding:strokeObservation。單位填 UCUM mL,填入原值。EVT 與 RAPID 在配對核定前各自建立。院方核定 LOINC 後,在同一 code 另加 coding(依父層 code 綁定)。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.tmaxVolume",
        "path": "StrokeRapidLM.tmaxVolume",
        "short": "Tmax>6 秒體積",
        "definition": "Tmax 大於 6 秒的體積,單位為 mL。填 0 至 3 位整數,僅 CTP 影像有此值。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.TMAX_VOLUME"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueQuantity",
            "comment": "code = stroke-observation#tmax-over-6s-volume;項目代碼填 Observation.code.coding:strokeObservation。單位填 UCUM mL,填入 Tmax > 6 秒體積。院方核定 LOINC 後,在同一 code 另加 coding(依父層 code 綁定)。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.mismatchVolume",
        "path": "StrokeRapidLM.mismatchVolume",
        "short": "不一致體積",
        "definition": "不一致體積,單位為 mL。譯碼簿公式:Tmax 小於 6 秒體積減去 CBF 小於 30% 體積;數值採來源原值,填 0 至 3 位整數,僅 CTP 影像有此值。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.MISMATCH_VOLUME"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueQuantity",
            "comment": "code = stroke-observation#perfusion-mismatch-volume;項目代碼填 Observation.code.coding:strokeObservation。單位填 UCUM mL,填入原值。EVT 與 RAPID 在配對核定前各自建立。院方核定 LOINC 後,在同一 code 另加 coding(依父層 code 綁定)。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.mismatchRatio",
        "path": "StrokeRapidLM.mismatchRatio",
        "short": "不一致比率",
        "definition": "不一致比率。譯碼簿公式:Tmax 小於 6 秒體積除以 CBF 小於 30% 體積。格式為 XX.X,僅 CTP 影像有此值;9999 表示無法計算,視同缺值,真實的 0 要保留。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.MISMATCH_RATIO"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueQuantity",
            "comment": "code = stroke-observation#perfusion-mismatch-ratio;比值原值(廠商公式算出)填入 valueQuantity,單位填 UCUM 1;只有 CTP 影像才有值。若為 9999 表示無法計算,不填 valueQuantity,改填 dataAbsentReason = unknown,且 dataAbsentReason.text 填「來源 9999:無法計算」;空白同樣填 unknown。真實 0 保留。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.hypoperfusionIntensityRatio",
        "path": "StrokeRapidLM.hypoperfusionIntensityRatio",
        "short": "低灌注強度比值",
        "definition": "低灌注強度比值,為 Tmax 大於 10 秒體積除以 Tmax 大於 6 秒體積。數值介於 0 至 0.X,僅 CTP 影像有此值。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.HYPOPERFUSION_INTENSITY_RATIO"
          },
          {
            "identity": "fhir",
            "map": "StrokeImagingResult:Observation.valueQuantity",
            "comment": "code = stroke-observation#hypoperfusion-intensity-ratio;項目代碼填 Observation.code.coding:strokeObservation。單位填 UCUM 1(無單位比值)。院方核定 LOINC 後,在同一 code 另加 coding(依父層 code 綁定)。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.hid",
        "path": "StrokeRapidLM.hid",
        "short": "醫院代號",
        "definition": "院所代號,例如 1A0=高雄榮總。",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.HID"
          },
          {
            "identity": "fhir",
            "map": "StrokeOrganization:Organization.identifier.value",
            "comment": "院所代號(例 1A0)原樣填入 identifier.value。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.zrapid",
        "path": "StrokeRapidLM.zrapid",
        "short": "日期時戳",
        "definition": "資料時戳,格式為 YYYY-MM-DD hh:mm:ss。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.ZRAPID"
          },
          {
            "identity": "fhir",
            "map": "StrokeProvenance:Provenance.occurredDateTime",
            "comment": "來源資料時戳:語意確認前不填 occurredDateTime,只保留原值;語意已確認、時區未確認時,只填日期(YYYY-MM-DD),時間以 StrokeEventTimeOnly 擴充附在該元素上,原值同時保存在原始值題目;語意與時區都確認後,填帶已確認時區的完整日期時間。"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.mtqualified",
        "path": "StrokeRapidLM.mtqualified",
        "short": "MTQUALIFIED",
        "definition": "JSON 樣本有此欄位,但譯碼簿未定義,樣本皆為空值。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.MTQUALIFIED"
          },
          {
            "identity": "fhir",
            "map": "StrokeRegistryResponse:QuestionnaireResponse.item:rawRapid.item(linkId = raw.rapid.mtqualified).answer.valueString",
            "comment": "尚無臨床資源對應,只保存原值"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.mtqualified16hDefuse3",
        "path": "StrokeRapidLM.mtqualified16hDefuse3",
        "short": "MTQUALIFIED_16H_DEFUSE3",
        "definition": "JSON 樣本有此欄位,但譯碼簿未定義,樣本皆為空值。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.MTQUALIFIED_16H_DEFUSE3"
          },
          {
            "identity": "fhir",
            "map": "StrokeRegistryResponse:QuestionnaireResponse.item:rawRapid.item(linkId = raw.rapid.mtqualified16hDefuse3).answer.valueString",
            "comment": "尚無臨床資源對應,只保存原值"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.mtqualified6hExtendia",
        "path": "StrokeRapidLM.mtqualified6hExtendia",
        "short": "MTQUALIFIED_6H_EXTENDIA",
        "definition": "JSON 樣本有此欄位,但譯碼簿未定義,樣本皆為空值。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.MTQUALIFIED_6H_EXTENDIA"
          },
          {
            "identity": "fhir",
            "map": "StrokeRegistryResponse:QuestionnaireResponse.item:rawRapid.item(linkId = raw.rapid.mtqualified6hExtendia).answer.valueString",
            "comment": "尚無臨床資源對應,只保存原值"
          }
        ]
      },
      {
        "id": "StrokeRapidLM.mtqualified6hSwiftprime",
        "path": "StrokeRapidLM.mtqualified6hSwiftprime",
        "short": "MTQUALIFIED_6H_SWIFTPRIME",
        "definition": "JSON 樣本有此欄位,但譯碼簿未定義,樣本皆為空值。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rapid-source",
            "map": "NCVA.RAPID.MTQUALIFIED_6H_SWIFTPRIME"
          },
          {
            "identity": "fhir",
            "map": "StrokeRegistryResponse:QuestionnaireResponse.item:rawRapid.item(linkId = raw.rapid.mtqualified6hSwiftprime).answer.valueString",
            "comment": "尚無臨床資源對應,只保存原值"
          }
        ]
      }
    ]
  }
}